package com.hoshiibuy.store.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @title: IdGeneratorService
 * @author zhangshuhu
 * @projectName hoshiibuy
 * @description: 主键服务
 * @since 2019-04-27
 */
@FeignClient(name = "hoshiibuy-id-generator", fallback = HystrixIdGeneratorFeignFallback.class)
public interface IdGeneratorService {

    /**
     * 获取主键
     *
     *
     * @return String
     */
    @GetMapping("/getuuId")
    public String queryGeneratorId();
}
